﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblUserService
	{
		private static readonly tblUserDAL db = new tblUserDAL();
		#region[tblUser_GetById]
		public static DataTable tblUser_GetById(tblUserInfo Data)
		{
			return db.tblUser_GetById(Data);
		}
		#endregion
		#region[tblUser_GetByAll]
		public static DataTable tblUser_GetByAll()
		{
			return db.tblUser_GetByAll();
		}
		#endregion
		#region[tblUser_GetByTop]
		public static DataTable tblUser_GetByTop(string Top, string Where, string Order)
		{
			return db.tblUser_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblUser_Insert]
		public static void tblUser_Insert(tblUserInfo Data)
		{
			 db.tblUser_Insert(Data);
		}
		#endregion
		#region[tblUser_Update]
		public static void tblUser_Update(tblUserInfo Data)
		{
			 db.tblUser_Update(Data);
		}
		#endregion
		#region[tblUser_Delete]
		public static void tblUser_Delete(string Data)
		{
			 db.tblUser_Delete(Data);
		}
		#endregion
	}
}